// @APIVersion 1.0.0
// @Title 无忧卫士业务后台说明文档
// @Description  无忧卫士业务后台相关内容
// @Contact jetgeng@sina.com
// @TermsOfServiceUrl http://beego.me/
// @License Apache 2.0
// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
package routers

import (
	"yikexing.com.cn/wyws/controllers"

	"github.com/astaxie/beego"
)

func init() {
	ns := beego.NewNamespace("/v1",
		//数据字典
		beego.NSNamespace("/dict",
			beego.NSInclude(
				&controllers.DictController{},
			),
		),
		//数据字典
		beego.NSNamespace("/fleet",
			beego.NSInclude(
				&controllers.FleetController{},
			),
		),
		beego.NSNamespace("/vehicle",
			beego.NSInclude(
				&controllers.VehicleController{},
			),
		),
	)
	beego.AddNamespace(ns)
}
